package com.dotflat.xj.domain;

import com.dotflat.rest.domain.AreableObjectBase;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 巡检对象班级
 * 
 */
@Entity
@Table(name = "xj_target_class")
@lombok.Data
@EqualsAndHashCode(callSuper = true)
public class TargetClass extends AreableObjectBase
{


    /** 类别-区域 */
    @Column(columnDefinition = "varchar(255)   COMMENT '类别-区域' ")
    private String type;

    /** 班级名称 */
    @Column(columnDefinition = "varchar(255)   COMMENT '班级名称' ")
    private String name;

    /** 发卡时间 */
    @Column(columnDefinition = "datetime   COMMENT '发卡时间' ")
    private Date cardTime;

    /** 卡码 */
    @Column(columnDefinition = "varchar(255)   COMMENT '卡码' ")
    private String cardCode;

    /** 备注 */
    @Column(columnDefinition = "varchar(255)   COMMENT '备注' ")
    private String remark;


}
